package com.crm.exception;

/**
 * Class Description:项目中用于业务逻辑层 例如spring service等的Exception类
 * 使用例子：
 *    if (CheckIfNull.checkIfFormNull(sform)) 
 *			{
 *				
 *				//check the form from session whether it is null 
 *				
 *				throw new ServiceException(ConstantExceptionKeys.EXCEPTION_SERVICE_NULL);
 *			}
 * <pre>
 *   Filename        : ServiceException.java 
 *   Date			   : 2008-08-18
 *   Creator         : liuqing
 *   Revised Description 
 *   ----------------------------------------------
 *   ver	revised date	reviser	revised contents
 *   0.1   2008-08-18       liuqing            create
 *   ----------------------------------------------
 *   
 * </pre>
 */
@SuppressWarnings("serial")
public class ServiceException extends BusinessException {

	public ServiceException() {
		this("exception.service.error");
	}

	public ServiceException(Throwable cause) {
		super(cause);
	}

	public ServiceException(String message) {
		super(message);
	}
}
